home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / dev / c / ExtrasLib.lha / ExtrasLib / Include / Extras / macros / intuition.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-30  |  478 b   |  13 lines

  1. #ifndef EXTRAS_MACROS_INTUITION_H
  2. #define EXTRAS_MACROS_INTUITION_H
  3.  
  4. /* Window Stuff */
  5. #define GetWinInnerWidth(w)  (w->Width  - ( w->BorderLeft + w->BorderRight) )
  6. #define GetWinInnerHeight(w) (w->Height - ( w->BorderTop  + w->BorderBottom ) )
  7.  
  8. /* Gadget Stuff */
  9. #define GetGadString( g )      ((( struct StringInfo * )g->SpecialInfo )->Buffer  )  
  10. #define GetGadNumber( g )      ((( struct StringInfo * )g->SpecialInfo )->LongInt )  
  11.  
  12. #endif /* EXTRAS_MACROS_INTUITION_H */
  13.